﻿using System;
using System.Collections.Generic;
using System.Text;

namespace EPMPerCenter.Entitys.BusinessEntities
{
    [Serializable]
    public partial class sysdiagrams
    {
        public sysdiagrams()
        {
        }

        public sysdiagrams(System.Byte[] definition, System.Int32 diagram_id, System.String name, System.Int32 principal_id, Nullable<System.Int32> version)
        {
            this.definitionField = definition;
            this.diagram_idField = diagram_id;
            this.nameField = name;
            this.principal_idField = principal_id;
            this.versionField = version;
        }

        private System.Byte[] definitionField;

        public System.Byte[] definition
        {
            get { return this.definitionField; }
            set { this.definitionField = value; }
        }

        private System.Int32 diagram_idField;

        public System.Int32 diagram_id
        {
            get { return this.diagram_idField; }
            set { this.diagram_idField = value; }
        }

        private System.String nameField;

        public System.String name
        {
            get { return this.nameField; }
            set { this.nameField = value; }
        }

        private System.Int32 principal_idField;

        public System.Int32 principal_id
        {
            get { return this.principal_idField; }
            set { this.principal_idField = value; }
        }

        private Nullable<System.Int32> versionField;

        public Nullable<System.Int32> version
        {
            get { return this.versionField; }
            set { this.versionField = value; }
        }

    }
}

